package com.frejoys.common.dto.order;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;


@Data
public class PayMoneyDto {

    @NotNull(message = "{600}")
    @Schema(type = "BigDecimal", name = "price", description = "金额", required = true, defaultValue = "1")
    private BigDecimal price;

    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "storeId", description = "店铺id", required = true, defaultValue = "1")
    private Integer storeId;

    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "type", description = "类型：1.线上码，2.线下码", required = true, defaultValue = "1")
    private Integer type;

}
